﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Main.Master" CodeBehind="register.aspx.vb" Inherits="IsisAssoWeb.register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMainContent" runat="server">
    <asp:Panel ID="PanelFormCreate" runat="server" DefaultButton="ButtonSubmit">
        <h2>Création de Compte</h2>
        <table id="create_account">
            <tr>
                <td>Civilite</td>
                <td>
                    <asp:DropDownList ID="user_civilite" runat="server">
                        <asp:ListItem>Monsieur</asp:ListItem>
                        <asp:ListItem>Madame</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>Prénom</td>
                <td>
                    <asp:TextBox ID="user_prenom" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Nom</td>
                <td>
                    <asp:TextBox ID="user_nom" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Email</td>
                <td>
                    <asp:TextBox ID="user_email" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Mot de Passe</td>
                <td>
                    <asp:TextBox ID="user_password" runat="server"></asp:TextBox></td>
            </tr>

            <tr>
                <td colspan="2">
                    <asp:Button ID="ButtonSubmit" runat="server" Text="S'inscrire et creer votre association" /></td>
            </tr>
        </table>
    </asp:Panel>

    <asp:Panel ID="PanelErrorCreateAccount" runat="server" Visible="false">

        <asp:Literal ID="MsgError" runat="server"></asp:Literal>
        <br />
        <asp:Button ID="ButtonTryAgain" runat="server" Text="Recommencer" />


    </asp:Panel>
    <asp:Panel ID="PanelFormConfirm" runat="server" Visible="false">
        <p>Votre compte est créé, veuillez saisir les informations concernant votre association en cliquant sur le lien "Associations".</p>
        <p><a href="/associations.aspx">Associations</a></p>
    </asp:Panel>
</asp:Content>
